#ifndef __ASM_XEN_FOREIGN_PAGE_H__
#define __ASM_XEN_FOREIGN_PAGE_H__
-/*
- * NOTE: PG_foreign must not conflict with any PG_ definition in page-flags.h!!
- */
-#define PG_foreign 25
+#define PG_foreign PG_arch_1
#define PageForeign(page) test_bit(PG_foreign, &(page)->flags)
* immediately bail: the arch-specific function has done all the work.
*/
#ifndef HAVE_ARCH_FREE_PAGE
-static inline int arch_free_page(struct page *page, int order)
-{
- /* Generic free_page must do the work. */
- return 0;
-}
+#define arch_free_page(page, order) 0
#endif
extern struct page *